﻿using _8Group.MES.ISongService.WmItemRecpt.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace _8Group.MES.ISongService.WmItemRecpt
{
    public interface IWmItemRecptService : IApplicationService
    {
        /// <summary>
        /// 获取采购入库列表
        /// </summary>
        /// <param name="itemRecptDTO"></param>
        /// <returns></returns>
        Task<object> GetWmItemRecptListAsync(RequestWmItemRecptDTO itemRecptDTO);

        /// <summary>
        /// 删除采购入库
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<bool> DeleteWmItemRecptAsync(int id);

        /// <summary>
        /// 新增采购入库
        /// </summary>
        /// <param name="createWmItemRecptDTO"></param> 
        /// <returns></returns>
        Task<bool> AddWmItemRecptAsync(AddWmItemRecptDTO addWmItemRecptDTO);

        /// <summary>
        /// 修改采购入库
        /// </summary>
        /// <param name="updateWmItemRecptDTO"></param>
        /// <returns></returns>
        Task<bool> UpdateWmItemRecptAsync(UpdateWmItemRecptDTO updateWmItemRecptDTO);

        /// <summary>
        /// 更新采购入库状态
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<bool> UpdateWmItemRecptStatusAsync(int id);
    }
}
